package list;

import java.util.BitSet;

/**
 * @author jukg
 * @date 2023/07/31 15:48
 * @description
 */
public class BitList {

    public static void main(String[] args) {
        long start = Runtime.getRuntime().freeMemory();
        BitSet set = new BitSet(999999);
        set.set(100);
        set.set(210);
        long total = start - Runtime.getRuntime().freeMemory();
        System.out.println(total);
    }
}
